home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / PriceCheckResult.sox < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.3 KB  |  81 lines  |  [TEXT/ttxt]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0">
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15. <!-- 
  16. Price Check Result
  17.  
  18.  PriceCheckResult is the response to PriceCheckRequest 
  19.  Returns the contract price for a list of order items, under a single 
  20.  account, offered by a single supplier. 
  21.  
  22.  Note: The price that is returned = (unit price with all discounts applied) * (quantity requested) 
  23.  
  24.  -->
  25.  
  26.  
  27. <elementtype name="PriceResultItem">
  28.     <model>
  29.         <sequence>
  30.             <!--  An item:  NaturalKey, quote date, quantity -->
  31.             <element type="BaseItemDetail"     name="QuotedItem" />
  32.  
  33.             <!--  Contract price for this item  -->
  34.             <element type="Price"        name="ResultPrice" />
  35.             
  36.             <!--  if filled then there is a business error -->
  37.             <element type="ErrorInfo" name="PriceErrorInfo" occurs="?" />
  38.         </sequence>
  39.     </model>
  40. </elementtype>
  41.  
  42. <!--  container for PriceResultItem  -->
  43. <elementtype name="ListOfPriceResultItem">
  44.     <model>
  45.         <element type="PriceResultItem" occurs="+" />
  46.     </model>
  47. </elementtype>
  48.  
  49. <elementtype name="PriceCheckSummary">
  50.     <model>
  51.         <sequence>
  52.             <!--  If there are item errors present in the list of items
  53.                 this will indicate the number of errors.  Otherwise
  54.                 this value will be 0  -->
  55.             <element type="int"     name="PriceCheckItemErrors" />
  56.  
  57.             <!--  if filled then there is an error -->
  58.             <element type="ErrorInfo" name="PriceCheckSummaryErrorInfo" occurs="?" />                        
  59.         </sequence>
  60.     </model>
  61. </elementtype>
  62.  
  63. <elementtype name="PriceCheckResult">
  64.     <model>
  65.         <sequence>
  66.             <element type="PriceCheckHeader" />
  67.  
  68.             <!--  Contract pricing for all order items  -->
  69.             <!--  The ordering of items returned is guaranteed to match the ordering  -->
  70.             <!--  of items in the PriceCheckRequest.  -->
  71.             <element type="ListOfPriceResultItem"  occurs="?" />
  72.  
  73.             <!-- info about the number of errors in the result -->
  74.             <element type="PriceCheckSummary" />
  75.         </sequence>
  76.     </model>
  77.  
  78. </elementtype>
  79.  
  80. </schema>
  81.